@extends('layout.admin')
@section('content')
    <div>
        <div style="padding: 5px 15px 5px 15px;border:1px solid #e8e8e8;background: white;border: 1px solid #e6e6e6">
           <span class="layui-breadcrumb" style="visibility:visible">
              <a href="{{url('/')}}"><i class="layui-icon" style="font-size: 14px"></i> 首页  </a>
              <a href="{{url('/my')}}"><cite> 欢迎页面 </cite></a>
            </span>
        </div>
        <div style="padding: 15px;">
            <fieldset class="layui-elem-field layui-field-title">
                <legend>欢迎您</legend>
            </fieldset>
            <div style="border: 1px solid #e6e6e6;">
                <div>
                    <div class="layui-bg-white">
                        <div class="layui-form-item">
                            <label class="layui-form-label">昵称</label>
                            <div class="layui-input-block"> <label class="layui-form-label">{{$result->name}}</label></div>
                        </div>
                    </div>
                    <div class="layui-bg-white">
                        <div class="layui-form-item">
                            <label class="layui-form-label">手机号</label>
                            <div class="layui-input-block">
                                <label class="layui-form-label">{{$result->mobile}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="layui-bg-white">
                        <div class="layui-form-item">
                            <label class="layui-form-label">邮箱</label>
                            <div class="layui-input-block">
                                <label class="layui-form-label">{{$result->email}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="layui-bg-white">
                        <div class="layui-form-item">
                            <label class="layui-form-label">头像</label>
                            <div class="layui-input-block">
                                <label class="layui-form-label">
                                    <img src="{{ env('WEBSITE_URL') .'/storage/' . $result->avatar}}" alt="" style="max-height: 200px;max-width: 200px;">
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="layui-bg-white">
                        <div class="layui-form-item">
                            <label class="layui-form-label">当前时间</label>
                            <div class="layui-input-block">
                                <label class="layui-form-label" style="width: 130px">{{Date('Y-m-d H:i:s')}}</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <style>
        .layui-bg-white {
            padding: 20px 50px 5px 50px;
            border-top: 1px dashed #c2c2c2;
            background: white;
        }

        .layui-bg-white:nth-of-type(1) {
            border-top: none;
        }

    </style>
@endsection